package org.cerberus.platform.component.annotations;

import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import org.cerberus.platform.component.DefaultEventHandler;


@Target({METHOD})
@Retention(RUNTIME)
public @interface Event {

	String name() default "";
	
	int priority() default 0;
	
	boolean vetoable() default false;
	
	Class<? extends IEventHandler> handler() default DefaultEventHandler.class;
	
}
